package algorithms;

import network.Vertex;
import network.Edge;

import java.util.Set;
import java.util.Map;
import java.util.HashMap;

public class SumOfCloseness implements DeploymentAlgorithm{

    public int getCentrality(Set<Vertex> vertices) {
        int sum = 0;
        for (Vertex v: vertices){
            sum += v.getCloseness();
        }
        return sum;
    }
}
